#pragma once
//#include "afx.h"
#include "DrawElementByIndex.h"

class CDrawElementsByIndex :
	public CGLListBase
{
public:
	CDrawElementsByIndex(void);
	~CDrawElementsByIndex(void);

	CDrawElementByIndex* Add (const wstring &Name = _T(""));
	CDrawElementByIndex* Get (const DWORD &Index);
	CDrawElementByIndex* Get (const wstring &Name);

	DWORD Count () {return (DWORD) DrawElementByIndexVector.size ();};

	void Free ();

	
private:
	vector<CDrawElementByIndex*> DrawElementByIndexVector;
	
	//static DWORD m_ID;

};
